<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<PoserLoot.Web.Models.Comment>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Post Comment
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">
    <% Html.RenderPartial("CategoryIndex", ViewData["IEnumerable<Category>"]); %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="gridTopic" class="topic">
        <h2>
            Post Comment</h2>
    </div>
    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>
    <% using (Html.BeginForm())
       {%>
    <fieldset>
        <p>
            <label for="Content">
                Content:</label>
            <%= Html.TextArea("Content", new { @cols="60", @rows="8" })%>
            <%= Html.ValidationMessage("Content", "*") %>
        </p>
        <p>
            <input type="submit" value="Post" />
            -
            <%= Html.ActionLink("Cancel", "Details", "Entry", new { id = ViewData["EntryId"] }, null) %>
        </p>
    </fieldset>
    <% } %>
</asp:Content>
